/*
 * File Name：ListenspeakAnswerInfo.java
 * Copyright：Copyright 2008-2015 CiWong.Inc. All Rights Reserved.
 * Description： ListenspeakAnswerInfo.java
 * Modify By：bin
 * Modify Date：2015年1月20日
 * Modify Type：Add
 */
package com.ciwong.epaper.modules.epaper.bean;

import com.ciwong.mobilelib.bean.BaseBean;

/**
 * 听说模考答案
 *
 * @author bin
 * @version ciwong v.1.0 2015年1月20日
 * @since ciwong v.1.0
 */
public class ListenspeakAnswerInfo extends BaseBean
{
//    private static final long serialVersionUID = 2595337682398646948L;
    /**
     * 答案内容
     */
    private String content;

    /**
     * 答案类型(1:音频URL 2:选项ID 3:填空题答案) {@link AnswerType}
     */
    private int answerType;

    /**
     * 得分
     */
    private float score;

    /**
     * 对错判断(0:未批改 1:对 2:错 3:半对 4:未知)
     */
    private int assess = WorkAnswers.Assess.ASSESS_UNKNOWN;

    public float getScore()
    {

        return score;
    }

    public void setScore(float score)
    {
        this.score = score;
    }

    public int getAssess()
    {
        return assess;
    }

    public void setAssess(int assess)
    {
        this.assess = assess;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public int getAnswerType()
    {
        return answerType;
    }

    public void setAnswerType(int answerType)
    {
        this.answerType = answerType;
    }

    /**
     * 答案类型
     */
    public static class AnswerType
    {
        /**
         * 音频URL
         */
        public static final int AUDIO_URL = 1;

        /**
         * 选项ID
         */
        public static final int OPTION_ID = 2;

        /**
         * 填空题答案
         */
        public static final int COMPLETION_ANSER = 3;
    }
}
